package com.cn.builder;

public class ComputerBuilder {

    private Computer computer = new Computer();

    public void setDisplayer(String displayer) {
        computer.setDisplayer(displayer);
    }

    public void setMouse(String mouse) {
        computer.setMouse(mouse);
    }

    public void setKeyboard(String keyboard) {
        computer.setKeyboard(keyboard);
    }

    public void setMainUnit(String mainUnit) {
        computer.setMainUnit(mainUnit);
    }

    public Computer getComputer() {
        return computer;
    }

    public void setComputer(Computer computer) {
        this.computer = computer;
    }
}
